﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class TriggerEnter2D : Condition
{
    public string targetTag;
    private void OnTriggerEnter2D(Collider2D collision)
    {
        if (collision.tag == targetTag)
        {
            ToJump = true;
        }
    }
}
